import React from 'react';
import dva from 'dva';
import 'purecss/build/grids.css';
import App from './components/App';
import './index.css';

// 1. Initialize
const app = dva();

// 2. Plugins
// app.use({});

// 3. Model
app.model(require('./models/app'));
app.model(require('./models/activityLog'));

// 4. Router
app.router(() => <App />);

// 5. Start
app.start('#root');
